package com.github.pig.admin.model.attendance;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author sxf
 * @since 2018-11-22
 */
@TableName("attendance_group")
public class AttendanceGroup extends Model<AttendanceGroup> {

    private static final long serialVersionUID = 1L;


    private String id;
    @TableField("schedule_id")
    private String scheduleId;
    @TableField("group_name")
    private String groupName;
    /**
     * 工作日  格式1，2，3，4，5
     */
    @TableField("working_day")
    private String workingDay;
    /**
     * 法定节假日是否排休
     */
    @TableField("holiday_rest")
    private Integer holidayRest;
    /**
     * 考勤类型 0wifi 1地点
     */
    @TableField("attendance_type")
    private Integer attendanceType;
    @TableField("create_time")
    private Date createTime;
    @TableField("create_by")
    private String createBy;
    @TableField("update_time")
    private Date updateTime;
    @TableField("update_by")
    private String updateBy;
    @TableField("del_flag")
    private String delFlag;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getScheduleId() {
        return scheduleId;
    }

    public void setScheduleId(String scheduleId) {
        this.scheduleId = scheduleId;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getWorkingDay() {
        return workingDay;
    }

    public void setWorkingDay(String workingDay) {
        this.workingDay = workingDay;
    }

    public Integer getHolidayRest() {
        return holidayRest;
    }

    public void setHolidayRest(Integer holidayRest) {
        this.holidayRest = holidayRest;
    }

    public Integer getAttendanceType() {
        return attendanceType;
    }

    public void setAttendanceType(Integer attendanceType) {
        this.attendanceType = attendanceType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "AttendanceGroup{" +
        ", id=" + id +
        ", scheduleId=" + scheduleId +
        ", groupName=" + groupName +
        ", workingDay=" + workingDay +
        ", holidayRest=" + holidayRest +
        ", attendanceType=" + attendanceType +
        ", createTime=" + createTime +
        ", createBy=" + createBy +
        ", updateTime=" + updateTime +
        ", updateBy=" + updateBy +
        ", delFlag=" + delFlag +
        "}";
    }
}
